<!DOCTYPE html><html><head><title>实时概况（TODO）</title><meta charset='utf-8'><link href='https://dn-maxiang.qbox.me/res-min/themes/marxico.css' rel='stylesheet'><style></style></head><body><div id='preview-contents' class='note-content'>
                        
                    



<h2 id="实时概况todo">实时概况（TODO）</h2>

<blockquote>
  <p>共 <code>initParam</code> <code>search</code> 两个接口</p>
</blockquote>

<hr>

<h3 id="initparam"><code>initParam</code></h3>

<p><strong>接口说明</strong> </p>

<pre class="prettyprint hljs-dark"><code class="hljs">请求条件初始化<br></code></pre>

<p><strong>URL</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs awk">http:<span class="hljs-regexp">//</span>xxx<span class="hljs-regexp">/realTime/</span>overviewBiAction<span class="hljs-regexp">/initParam.do</span><br></code></pre>

<p><strong>请求参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs applescript"><span class="hljs-number">1.</span> <span class="hljs-built_in">date</span> : <span class="hljs-string">"2017-06-01"</span>       <span class="hljs-comment"># 时间 </span><br><span class="hljs-number">2.</span> platformid : <span class="hljs-string">"2"</span><br><span class="hljs-number">3.</span> serverid : <span class="hljs-string">"3"</span><br><span class="hljs-number">4.</span> channelid : <span class="hljs-string">"4"</span><br><span class="hljs-number">5.</span> callback : <span class="hljs-string">""</span><br></code></pre>

<p><strong>返回参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs json">{<br>    <span class="hljs-attr">"gameid"</span>:<span class="hljs-number">209</span>                 # 游戏id<br>    ,<span class="hljs-attr">"userid"</span>:<span class="hljs-string">"123$zulong"</span>       # userid<br>    ,<span class="hljs-attr">"actinfo"</span>:[{<span class="hljs-attr">"actid"</span>:<span class="hljs-number">1</span>,<span class="hljs-attr">"url"</span>:<span class="hljs-string">"www.baidu.com"</span>},  # 活动信息:id标识活动id，url标识图片位置，顺序已经排好。id为<span class="hljs-number">0</span>的时候无法点击只是图片,点击图片后带着id进入口<span class="hljs-number">2</span><br>                {<span class="hljs-attr">"actid"</span>:<span class="hljs-number">2</span>,<span class="hljs-attr">"url"</span>:<span class="hljs-string">"www.baidu.com"</span>},<br>                {<span class="hljs-attr">"actid"</span>:<span class="hljs-number">0</span>,<span class="hljs-attr">"url"</span>:<span class="hljs-string">"www.baidu.com"</span>}]<br>}<br></code></pre>

<hr>



<h3 id="search"><code>search</code></h3>

<p><strong>接口说明</strong> </p>

<pre class="prettyprint hljs-dark"><code class="hljs">请求条件初始化<br></code></pre>

<p><strong>URL</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs awk">http:<span class="hljs-regexp">//</span>xxx<span class="hljs-regexp">/realTime/</span>overviewBiAction<span class="hljs-regexp">/initParam.do</span><br></code></pre>

<p><strong>请求参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs applescript"><span class="hljs-number">1.</span> <span class="hljs-built_in">date</span> : <span class="hljs-string">"2017-06-01"</span>       <span class="hljs-comment"># 时间 </span><br><span class="hljs-number">2.</span> platformid : <span class="hljs-string">"2"</span><br><span class="hljs-number">3.</span> serverid : <span class="hljs-string">"3"</span><br><span class="hljs-number">4.</span> channelid : <span class="hljs-string">"4"</span><br><span class="hljs-number">5.</span> callback : <span class="hljs-string">""</span><br></code></pre>

<p><strong>返回参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs json">{<br>    <span class="hljs-attr">"gameid"</span>:<span class="hljs-number">209</span>                 # 游戏id<br>    ,<span class="hljs-attr">"userid"</span>:<span class="hljs-string">"123$zulong"</span>       # userid<br>    ,<span class="hljs-attr">"actinfo"</span>:[{<span class="hljs-attr">"actid"</span>:<span class="hljs-number">1</span>,<span class="hljs-attr">"url"</span>:<span class="hljs-string">"www.baidu.com"</span>},  # 活动信息:id标识活动id，url标识图片位置，顺序已经排好。id为<span class="hljs-number">0</span>的时候无法点击只是图片,点击图片后带着id进入口<span class="hljs-number">2</span><br>                {<span class="hljs-attr">"actid"</span>:<span class="hljs-number">2</span>,<span class="hljs-attr">"url"</span>:<span class="hljs-string">"www.baidu.com"</span>},<br>                {<span class="hljs-attr">"actid"</span>:<span class="hljs-number">0</span>,<span class="hljs-attr">"url"</span>:<span class="hljs-string">"www.baidu.com"</span>}]<br>}<br></code></pre></div></body></html>